/* 
 * FreeModbus Libary: A portable Modbus implementation for Modbus ASCII/RTU.
 * Copyright (c) 2006 Christian Walter <wolti@sil.at>
 * All rights reserved.
 *
 */

#ifndef _MB_APP_H
#define _MB_APP_H

#include "mbport.h"
#include "mbdatacb.h"
#include "mbdatacfg.h"
#include "mbcrc.h"
#include "mbslave.h"
#include "mbmaster.h"

//For RTX 
#define MODBUS_EVENT_RTU_TIMER                     (0x02UL)
#define MODBUS_EVENT_TIMEOUT                       (0x04UL)

	void mbSlavePoll(void);
	void mbMasterPoll(void);      

#endif
